package com.ynny.UserManage.dao;

import com.ynny.UserManage.enity.User;

import java.util.List;

public interface UserDao {
    int addUser(String password,String username,Integer id);
    User queryUserById(Integer id);
    int updateUser(Integer id,String password);
    int deleteUser(Integer id);
    List<User> queryAllUser();
    User queryUserByName(String username);
}
